direct proportion and inverse proportion